sys: regenerate
authorFelix Krull <f_krull@gmx.de>
Sat, 20 Oct 2018 11:05:13 +0000 (13:05 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:53 +0000 (12:53 -0400)
This removes my build trick to allow docs builds without the library
available, but since we're not targetting docs.rs for now, that's fine.

rust-bindings/rust/sys/Cargo.toml
rust-bindings/rust/sys/build.rs

index 88868c870bf2aecfa59cc01801885f23d29bae8f..9bc7868d4f2a45625b7c6196c1b11bd968db7b08 100644 (file)
@@ -50,6 +50,5 @@ links = "ostree-1"
 name = "libostree-sys"
 repository = "https://gitlab.com/fkrull/rust-libostree"
 version = "0.1.5"
-
 [package.metadata.docs.rs]
 features = ["dox"]
index 58a32260c5f091861d0e0eff67c6042681490ed8..ba199e44a968e4fc73e7bb73689983ecc3024d90 100644 (file)
@@ -62,10 +62,6 @@ fn find() -> Result<(), Error> {
         return Ok(())
     }
 
-    if cfg!(feature = "dox") {
-        return Ok(())
-    }
-
     let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
     let hardcode_shared_libs = target.contains("windows");